<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:f="http://xmlns.jcp.org/jsf/core"
      xmlns:p="http://primefaces.org/ui">

<f:view contentType="text/html;charset=UTF-8" encoding="UTF-8">
    <h:head>

    </h:head>

    <h:body>

        <h:form id="form">
            <p:messages id="msgs" showDetail="true">
                <p:autoUpdate/>
            </p:messages>

            <p:dataTable id="datatable" widgetVar="datatable" value="#{dataTable039.lazyDataModel}" var="lang"
                         paginator="true" rows="10" filterEvent="enter"
                         selection="#{dataTable039.selectedProgrammingLanguage}">
                <p:column field="id" headerText="ID"/>

                <p:column field="name" filterMatchMode="contains"/>

                <p:column field="firstAppeared" filterMatchMode="gte"/>

                <p:column field="type" filterMatchMode="exact">
                    <f:facet name="filter">
                        <p:selectCheckboxMenu id="filterType" multiple="true" updateLabel="true"
                            value="#{dataTable039.selectedProgrammingLanguageTypes}">
                            <f:selectItems value="#{dataTable039.types}"/>
                            <p:ajax oncomplete="PF('datatable').filter()"/>
                        </p:selectCheckboxMenu>
                    </f:facet>
                </p:column>
            </p:dataTable>

            <p:commandButton id="buttonUpdate" value="Update" update="datatable"/>
        </h:form>

    </h:body>
</f:view>

</html>
